//
//  EFADeviceTCell.h
//  efairy
//
//  Created by XiangDongMBP on 2017/7/12.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class EFADeviceTCell;
@protocol EFADeviceTCellDelegate <NSObject>
@optional
- (void)deviceTCell:(EFADeviceTCell *)cell deviceNoteBtnTapped:(UIButton *)btn;
@end

@class EFADeviceListItem;
@interface EFADeviceTCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *portraitImgView;
@property (weak, nonatomic) IBOutlet UILabel *deviceNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *deviceOnlineLabel;
@property (weak, nonatomic) IBOutlet UILabel *deviceStateLabel;
@property (weak, nonatomic) IBOutlet UIButton *deviceNoteBtn;

@property (weak, nonatomic) id<EFADeviceTCellDelegate>delegate;
- (void)configViewWithDeviceListItem:(EFADeviceListItem *)item;

@end
